import { ROUTER_PREFIX } from '@/constant';

export const routes = [
  {
    path: `${ROUTER_PREFIX}/404`,
    name: 'NotFound',
    component: () => import('@/components/cz-error-page/error-404.vue'),
    meta: { title: '404' },
    children: []
  },
  {
    path: `${ROUTER_PREFIX}/login`,
    name: 'Login',
    component: () => import('@/modules/Login.vue'),
    meta: { title: '登录账号' },
    children: []
  },
  {
    path: `${ROUTER_PREFIX}/register`,
    name: 'Register',
    component: () => import('@/modules/Register.vue'),
    meta: { title: '注册账号' },
    children: []
  },
  {
    path: `${ROUTER_PREFIX}/403`,
    name: 'NotPermission',
    component: () => import('@/components/cz-error-page/error-403.vue'),
    meta: { title: '403' },
    children: []
  }
];

export default routes;
